package com.hs.li.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 承运商管理
 * </p>
 *
 * @author lhj
 * @since 2022-06-13
 */
@Getter
@Setter
@TableName("t_car_carrier")
public class CarCarrier implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 承运商id
     */
    @TableId(value = "carrier_id", type = IdType.AUTO)
    private Integer carrierId;

    /**
     * 承运商编号
     */
    @TableField("carrier_number")
    private Integer carrierNumber;

    /**
     * 承运商名称
     */
    @TableField("carrier_name")
    private String carrierName;

    /**
     * 负责人
     */
    @TableField("carrier_owner")
    private String carrierOwner;

    /**
     * 负责人联系方式
     */
    @TableField("carrier_phone")
    private String carrierPhone;

    /**
     * 车辆总数
     */
    @TableField("carrier_count")
    private Integer carrierCount;

    @TableField(exist = false)
    private CarCarrier carCarrier;

    @TableField(exist = false)
    private CarDriver carDriver;


}
